package com.sl.carcode.global;

/**
 * Created by  raysh  on 2017/7/26.
 * Modified by PDY on 2017/11/2.
 */

public class Config {
//    public static String serverIP = "192.169.0.1";
//    public static String serverIP = "192.168.2.2";
    public static String serverIP = "192.168.0.141";
//    public static String serverIP = "192.168.0.119";

    public static int serverTCPPort = 6790;
    public static int audioChatPort = 9001;
    public static int vedioChatPort = 9002;
    public static int TIME_REQUEST = 30 * 1000;
    public static int TIME_RESPONSE = 30 * 1000;
    public static final int SEESIONTYPE_DATA = 2;
    public static final int SEESIONTYPE_CHAT = 1;
    public static boolean debug = true;
    public static boolean isOnLine = false;
    public static boolean isControlSocket = false;

    public static String ServerURLPort = "80";
    public static String ServerPowerPort = "80";

    /*收件箱rul参数*/
    public static String Inbox = "/v1/sms/inbox";
    public static String InboxV = "/v/sms/inbox";

    /*发件箱rul参数*/
    public static String Outbox = "/v1/sms/outbox";
    public static String Power = "/v1/power";

    /*数据通传相关*/
    public final static String datacommMode_NAT = "nat";
    public final static String dataCommMode_BRIDGE = "bridge";

    /*短消息相关*/
    public final static String MSGTYPE_TEXT = "text";    //文本消息类型
    public final static String MSGTYPE_IMG = "jpeg";     //图片消息类型
    public final static String MSGTYPE_AUDIO = "mp3";    //语音短消息类型
    public final static String MSGTYPE_VIDEO = "mp4";    //视频短消息类型
    public final static String MSGPOSTTYPE_TEXT = "text/plain";
    public final static String MSGPOSTTYPE_IMG = "image/jpeg";
    public final static String MSGPOSTTYPE_AUDIO = "audio/mp3";
    public final static String MSGPOSTTYPE_VIDEO = "video/mp4";
    public final static String OUTBOX_SENT = "sent";
    public final static String OUTBOX_SENDING = "sending";
    public final static String OUTBOX_PENDING = "pending";
    public final static String OUTBOX_RECEIVE = "receiveMSG";
    public final static String OUTBOX_NOMSG = "noMsg";
    public final static String OUTBOX_FAIL = "fail";
    public final static int PICTURE = 102;    //MsgCameraActivity和MsgChatActivity之间使用
    public final static int VIDEO = 103;      //MsgCameraActivity和MsgChatActivity之间使用

    /*设置界面相关*/
    public final static int SETTING_DELETE = 1;
    public final static int SETTING_CONFIG = 2;
    public final static String SETTING_ISCHOOSE = "1";   //用于区分用户在设置见面中选的ip速率是多少
    public final static String SETTING_NOCHOOSE = "0";   //同上
    public final static String SETTING_CUSTOM = "自定义";

}